if is_won() == -1:
      tkMessageBox.showinfo(title='Competition result',message='You win')
      logout()
elif is_won() == 1:
      tkMessageBox.showinfo(title='Competition result',message='You lose')
      logout()
